/*
 * Course:        COMP 380
 * Semester:      Summer 2012
 * Assignment:    Text To Speech
 * File Name:     FileInformation.java
 * Author:        James Paul Pan
 * 				  Kenneth Wakeland
 * 				  Peter Xaymountry
 * Group #:		  Group #3
 */

package com.comp380.texttospeech;

import java.io.Serializable;

import java.io.Serializable;

/* 
 * This class creates an object that contains information 
 * about the preview name and destination name of a file.
 * It can be serialized to a file.
 */
public class FileInformation implements Serializable 
{
	private static final long serialVersionUID = 1L;
	private String mPrevName = "";
	private String mDestinationFileName = "";
	
	/*
	 * Constructor method.
	 */
	public FileInformation(String prevName, String destinationFileName)
	{
		// Two variables are set, the preview name and the destination name.
		mPrevName = prevName;
		mDestinationFileName = destinationFileName;
	}
	
	/*
	 *  Get/Set methods for the preview name.
	 */
	public void setPrevName(String previewName) 
	{
		this.mPrevName = previewName;
	}
	
	/*
	 * Get the previous name.
	 */
	public String getPrevName() 
	{
		return mPrevName;
	}
	
	/*
	 *  Get/Set methods for the destination name.
	 */
	public void setDestinationFileName(String destFileName) 
	{
		this.mDestinationFileName = destFileName;
	}
	
	/*
	 * Get the Destination file name.
	 */
	public String getDestinationFileName() 
	{
		return mDestinationFileName;
	}
}

